<template>
	<view class="uni_box home">
		<!-- <navbar title='闪游任务'>
		</navbar> -->
		<view class="content">
			<web-view :src="url" />
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url:""
			}
		},
		onLoad(option) {
			this.url =  decodeURIComponent(option.url);
			// this.getshanyou()
		},
		onShow() {
		},
		methods: {
			async getshanyou(){
				
				let res = await this.$u.api.getShanyou({
				});
				console.log(res)
				this.url = res.index_url
			},
		}
	}
</script>

<style lang="scss" scoped>
	page{
		background-color: #F5F5F5;
	}
	.content{
		background-color: #F5F5F5;
		min-height: 100vh;
	}
</style>
